package Scrap;

import java.util.Scanner;

public class demo20_StringPermutation {

	public static void main(String[] args) {
		// System.out.println("Please enter a number");
		Scanner sc = new Scanner(System.in);

		String str = sc.nextLine();
		Scanner sc1 = new Scanner(str);
		int num1 = sc1.nextInt();
		int num2 = sc1.nextInt();
		// System.out.println("num1 ::" + num1 + " num2 ::" + num2);

		createBasicString(num1);

	}

	private static void createBasicString(int num1) {
		String str = "";
		for (int i = 0; i < num1; i++) {

			char c = (char) ('a' + i);

			str = str + c;

		}
		System.out.println(str);
findStringPerms(str);
	}

	private static void findStringPerms(String str) {
	
		
		
		
		
	}

}
